WPPayForm\App\Hooks\Handlers\SubmissionHandler D

Total Complexity 155
Dependencies 14
Dependents 1
Total lines 800
Lines of code 637
Logical lines of code 365
Comment lines 37
Methods 13
Properties 6

Methods 13

Method Rating Maintainability Complexity Lines of code
handleSubmission()
D
15
57 273
validate()
D
30 44 96
getSubscriptionLine()
B
37 16 76
getPaymentLine()
A
42 10 53
getSubDonationLine()
S
48 5 31
sanitizeFormData()
S
51 5 29
getItemQuantity()
S
59 6 14
getErrorLabel()
S
62 3 11
paymentHandelerAfterHundredDiscount()
S
55 2 20
getIp()
S
67 3 8
paymentValidate()
S
63 2 10
getHash()
S
65 1 8
sendSubmissionConfirmation()
S
66 1 8